<script setup>
import { ref } from 'vue'
import { useRoute } from 'vue-router'
const route = useRoute()
console.log(route.params.id)
const id = ref(0)
</script>

<template>
  <div class="full" direction="column" justify="space-between">
    参数：{{ id }}
  </div>
</template>

<style scoped>
.full-content {
  flex: 1;
  background-color: var(--color-bg-gray);
  overflow: auto;
}
</style>